// 生成16位颜色
function color16() {

  let r = (Math.floor(Math.random() * 256)).toString(16);
  r = r.length === 1 ? '0' + r : r;
  let g = (Math.floor(Math.random() * 256)).toString(16);
  g = g.length === 1 ? '0' + g : g;
  let b = (Math.floor(Math.random() * 256)).toString(16);
  b = b.length === 1 ? '0' + b : b;

  return `#${r}${g}${b}`;
}

export default color16;